package io.github.talelin.sleeve.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.talelin.sleeve.common.model.FileDO;
import io.github.talelin.sleeve.vo.BannerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FileTestMapper extends BaseMapper<FileDO> {

    BannerVo getBannerById(int id);
    /**
     * @Description: 获取表的字段
     */
    List<String> getTableField(String tableName);


    FileDO selectByMd5(@Param("md5") String md5);

    int selectCountByMd5(@Param("md5") String md5);
}
